package com.fintech.third.service.code;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.fintech.datagroud.service.DgThirdCodeInfoService;

@Service("ThirdCodeInfo")
public class ThirdCodeInfoServiceImpl implements ThirdCodeInfoService {

	@Autowired
	private DgThirdCodeInfoService dgThirdCodeInfoService;

	/**
	 * 得到第三方接口的时效信息
	 * 
	 * @param code
	 * @return
	 */
	@Override
	public String getThirdInformation(String code) {
		String information = "";
		try {
			information = dgThirdCodeInfoService.getThirdInformation(code);
		} catch (Exception e) {
			e.printStackTrace();
		}

		return information;
	}

}
